package com.pswv2.backstage.more.requirements.answer.imp;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.pswv2.backstage.more.requirements.answer.service.AnswerRequirementsService;
import com.pswv2.bub.bsc.dao.po.AnswerRequirements;
import com.pswv2.util.ExtraSpringHibernateTemplate;


@Service
public class AnswerRequirementsImpl implements AnswerRequirementsService {
	private static Class<?> poc = AnswerRequirements.class;
	@Autowired
	private ExtraSpringHibernateTemplate extraSpringHibernateTemplate;


	@Override
	public AnswerRequirements queryById(Integer answerRequirementsId) {
		return extraSpringHibernateTemplate.findFirstOneByPropEq(poc, "answerRequirementsId", answerRequirementsId);
	}
	
}
